﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace com.eforceglobal.crux.web.wrokflows
{
    public class Workflow
    {
        private string _WorkflowName = "";

        public string WorkflowName
        {
            get { return _WorkflowName; }
            set { _WorkflowName = value; }
        }

        private string _WorkflowType;
        public string WorkflowType
        {
            get { return _WorkflowType; }
            set { _WorkflowType = value; }
        }
        private Activity _StartActivity = new Activity();
        public Activity StartActivity
        {
            get { return _StartActivity; }
            set { _StartActivity = value; }
        }

        private Activity _EndActivity = new Activity();
        public Activity EndActivity
        {
            get { return _EndActivity; }
            set { _EndActivity = value; }
        }


        private List<Activity> _Activites = new List<Activity>();
        public List<Activity> Activites
        {
            get { return _Activites; }
            set { _Activites = value; }
        }

        private bool _WorkflowNotificationsOn;
        public bool WorkflowNotificationsOn
        {
            get { return _WorkflowNotificationsOn; }
            set { _WorkflowNotificationsOn = value; }
        }
    }
}
